#ifndef ANALYSE_H
#define ANALYSE_H
#include <QString>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "getfile.h"
#include "getmd5.h"
#include <QMessageBox>
#include <QDirIterator>
#include <QDir>
#include <QDateTime>
class analyse{
public:
    void analyse_one(const QString &source, const QString &destination, Ui::MainWindow *ui, int flag);
    QDateTime GetLastmodifiedTime(QString catalog);
    QFileInfoList rightfile(QFileInfoList fileInfoList, QFileInfoList fileInfoList2,Ui::MainWindow *ui,const QString &source, const QString &destination, int flag);
    void rightdir(QList<QString> dirList, Ui::MainWindow *ui,const QString &source, const QString &destination, int flag);
    void leftfile(QFileInfoList fileInfoList2, Ui::MainWindow *ui,const QString &source, const QString &destination, int flag);
    void leftdir(QList<QString> dirList2, Ui::MainWindow *ui,const QString &source, const QString &destination, int flag);
};
#endif // ANALYSE_H
